package com.bw.module_home.model.service

import com.bw.lib_net.RetrofitManager
import com.bw.lib_net.entity.ResponseEntity
import com.bw.module_home.model.api.VideoTypeApi
import com.bw.module_home.model.entity.SimpleTypeEntity

/**
 * @Author : ZhouZiYao
 * @Time : On 2023/11/22 14:01
 * @Description :
 */
class VideoTypeService {

    private val videoTypeApi by lazy {
        RetrofitManager.instance.createService(VideoTypeApi::class.java)
    }

    suspend fun getSimpleType(): ResponseEntity<MutableList<SimpleTypeEntity>>{
        return videoTypeApi.getSimpleType()
    }

}